package com.ygqh.baby.po;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class YgSkuMaterialExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public YgSkuMaterialExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andProductIdIsNull() {
            addCriterion("product_id is null");
            return (Criteria) this;
        }

        public Criteria andProductIdIsNotNull() {
            addCriterion("product_id is not null");
            return (Criteria) this;
        }

        public Criteria andProductIdEqualTo(Long value) {
            addCriterion("product_id =", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotEqualTo(Long value) {
            addCriterion("product_id <>", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdGreaterThan(Long value) {
            addCriterion("product_id >", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdGreaterThanOrEqualTo(Long value) {
            addCriterion("product_id >=", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdLessThan(Long value) {
            addCriterion("product_id <", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdLessThanOrEqualTo(Long value) {
            addCriterion("product_id <=", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdIn(List<Long> values) {
            addCriterion("product_id in", values, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotIn(List<Long> values) {
            addCriterion("product_id not in", values, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdBetween(Long value1, Long value2) {
            addCriterion("product_id between", value1, value2, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotBetween(Long value1, Long value2) {
            addCriterion("product_id not between", value1, value2, "productId");
            return (Criteria) this;
        }

        public Criteria andSkuCodeIsNull() {
            addCriterion("sku_code is null");
            return (Criteria) this;
        }

        public Criteria andSkuCodeIsNotNull() {
            addCriterion("sku_code is not null");
            return (Criteria) this;
        }

        public Criteria andSkuCodeEqualTo(String value) {
            addCriterion("sku_code =", value, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeNotEqualTo(String value) {
            addCriterion("sku_code <>", value, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeGreaterThan(String value) {
            addCriterion("sku_code >", value, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeGreaterThanOrEqualTo(String value) {
            addCriterion("sku_code >=", value, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeLessThan(String value) {
            addCriterion("sku_code <", value, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeLessThanOrEqualTo(String value) {
            addCriterion("sku_code <=", value, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeLike(String value) {
            addCriterion("sku_code like", value, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeNotLike(String value) {
            addCriterion("sku_code not like", value, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeIn(List<String> values) {
            addCriterion("sku_code in", values, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeNotIn(List<String> values) {
            addCriterion("sku_code not in", values, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeBetween(String value1, String value2) {
            addCriterion("sku_code between", value1, value2, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeNotBetween(String value1, String value2) {
            addCriterion("sku_code not between", value1, value2, "skuCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeIsNull() {
            addCriterion("product_code is null");
            return (Criteria) this;
        }

        public Criteria andProductCodeIsNotNull() {
            addCriterion("product_code is not null");
            return (Criteria) this;
        }

        public Criteria andProductCodeEqualTo(String value) {
            addCriterion("product_code =", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeNotEqualTo(String value) {
            addCriterion("product_code <>", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeGreaterThan(String value) {
            addCriterion("product_code >", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeGreaterThanOrEqualTo(String value) {
            addCriterion("product_code >=", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeLessThan(String value) {
            addCriterion("product_code <", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeLessThanOrEqualTo(String value) {
            addCriterion("product_code <=", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeLike(String value) {
            addCriterion("product_code like", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeNotLike(String value) {
            addCriterion("product_code not like", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeIn(List<String> values) {
            addCriterion("product_code in", values, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeNotIn(List<String> values) {
            addCriterion("product_code not in", values, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeBetween(String value1, String value2) {
            addCriterion("product_code between", value1, value2, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeNotBetween(String value1, String value2) {
            addCriterion("product_code not between", value1, value2, "productCode");
            return (Criteria) this;
        }

        public Criteria andCostPriceIsNull() {
            addCriterion("cost_price is null");
            return (Criteria) this;
        }

        public Criteria andCostPriceIsNotNull() {
            addCriterion("cost_price is not null");
            return (Criteria) this;
        }

        public Criteria andCostPriceEqualTo(BigDecimal value) {
            addCriterion("cost_price =", value, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceNotEqualTo(BigDecimal value) {
            addCriterion("cost_price <>", value, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceGreaterThan(BigDecimal value) {
            addCriterion("cost_price >", value, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("cost_price >=", value, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceLessThan(BigDecimal value) {
            addCriterion("cost_price <", value, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("cost_price <=", value, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceIn(List<BigDecimal> values) {
            addCriterion("cost_price in", values, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceNotIn(List<BigDecimal> values) {
            addCriterion("cost_price not in", values, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("cost_price between", value1, value2, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("cost_price not between", value1, value2, "costPrice");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andExtMaterialIsNull() {
            addCriterion("ext_material is null");
            return (Criteria) this;
        }

        public Criteria andExtMaterialIsNotNull() {
            addCriterion("ext_material is not null");
            return (Criteria) this;
        }

        public Criteria andExtMaterialEqualTo(String value) {
            addCriterion("ext_material =", value, "extMaterial");
            return (Criteria) this;
        }

        public Criteria andExtMaterialNotEqualTo(String value) {
            addCriterion("ext_material <>", value, "extMaterial");
            return (Criteria) this;
        }

        public Criteria andExtMaterialGreaterThan(String value) {
            addCriterion("ext_material >", value, "extMaterial");
            return (Criteria) this;
        }

        public Criteria andExtMaterialGreaterThanOrEqualTo(String value) {
            addCriterion("ext_material >=", value, "extMaterial");
            return (Criteria) this;
        }

        public Criteria andExtMaterialLessThan(String value) {
            addCriterion("ext_material <", value, "extMaterial");
            return (Criteria) this;
        }

        public Criteria andExtMaterialLessThanOrEqualTo(String value) {
            addCriterion("ext_material <=", value, "extMaterial");
            return (Criteria) this;
        }

        public Criteria andExtMaterialLike(String value) {
            addCriterion("ext_material like", value, "extMaterial");
            return (Criteria) this;
        }

        public Criteria andExtMaterialNotLike(String value) {
            addCriterion("ext_material not like", value, "extMaterial");
            return (Criteria) this;
        }

        public Criteria andExtMaterialIn(List<String> values) {
            addCriterion("ext_material in", values, "extMaterial");
            return (Criteria) this;
        }

        public Criteria andExtMaterialNotIn(List<String> values) {
            addCriterion("ext_material not in", values, "extMaterial");
            return (Criteria) this;
        }

        public Criteria andExtMaterialBetween(String value1, String value2) {
            addCriterion("ext_material between", value1, value2, "extMaterial");
            return (Criteria) this;
        }

        public Criteria andExtMaterialNotBetween(String value1, String value2) {
            addCriterion("ext_material not between", value1, value2, "extMaterial");
            return (Criteria) this;
        }

        public Criteria andComponent1IsNull() {
            addCriterion("component1 is null");
            return (Criteria) this;
        }

        public Criteria andComponent1IsNotNull() {
            addCriterion("component1 is not null");
            return (Criteria) this;
        }

        public Criteria andComponent1EqualTo(String value) {
            addCriterion("component1 =", value, "component1");
            return (Criteria) this;
        }

        public Criteria andComponent1NotEqualTo(String value) {
            addCriterion("component1 <>", value, "component1");
            return (Criteria) this;
        }

        public Criteria andComponent1GreaterThan(String value) {
            addCriterion("component1 >", value, "component1");
            return (Criteria) this;
        }

        public Criteria andComponent1GreaterThanOrEqualTo(String value) {
            addCriterion("component1 >=", value, "component1");
            return (Criteria) this;
        }

        public Criteria andComponent1LessThan(String value) {
            addCriterion("component1 <", value, "component1");
            return (Criteria) this;
        }

        public Criteria andComponent1LessThanOrEqualTo(String value) {
            addCriterion("component1 <=", value, "component1");
            return (Criteria) this;
        }

        public Criteria andComponent1Like(String value) {
            addCriterion("component1 like", value, "component1");
            return (Criteria) this;
        }

        public Criteria andComponent1NotLike(String value) {
            addCriterion("component1 not like", value, "component1");
            return (Criteria) this;
        }

        public Criteria andComponent1In(List<String> values) {
            addCriterion("component1 in", values, "component1");
            return (Criteria) this;
        }

        public Criteria andComponent1NotIn(List<String> values) {
            addCriterion("component1 not in", values, "component1");
            return (Criteria) this;
        }

        public Criteria andComponent1Between(String value1, String value2) {
            addCriterion("component1 between", value1, value2, "component1");
            return (Criteria) this;
        }

        public Criteria andComponent1NotBetween(String value1, String value2) {
            addCriterion("component1 not between", value1, value2, "component1");
            return (Criteria) this;
        }

        public Criteria andComponent2IsNull() {
            addCriterion("component2 is null");
            return (Criteria) this;
        }

        public Criteria andComponent2IsNotNull() {
            addCriterion("component2 is not null");
            return (Criteria) this;
        }

        public Criteria andComponent2EqualTo(String value) {
            addCriterion("component2 =", value, "component2");
            return (Criteria) this;
        }

        public Criteria andComponent2NotEqualTo(String value) {
            addCriterion("component2 <>", value, "component2");
            return (Criteria) this;
        }

        public Criteria andComponent2GreaterThan(String value) {
            addCriterion("component2 >", value, "component2");
            return (Criteria) this;
        }

        public Criteria andComponent2GreaterThanOrEqualTo(String value) {
            addCriterion("component2 >=", value, "component2");
            return (Criteria) this;
        }

        public Criteria andComponent2LessThan(String value) {
            addCriterion("component2 <", value, "component2");
            return (Criteria) this;
        }

        public Criteria andComponent2LessThanOrEqualTo(String value) {
            addCriterion("component2 <=", value, "component2");
            return (Criteria) this;
        }

        public Criteria andComponent2Like(String value) {
            addCriterion("component2 like", value, "component2");
            return (Criteria) this;
        }

        public Criteria andComponent2NotLike(String value) {
            addCriterion("component2 not like", value, "component2");
            return (Criteria) this;
        }

        public Criteria andComponent2In(List<String> values) {
            addCriterion("component2 in", values, "component2");
            return (Criteria) this;
        }

        public Criteria andComponent2NotIn(List<String> values) {
            addCriterion("component2 not in", values, "component2");
            return (Criteria) this;
        }

        public Criteria andComponent2Between(String value1, String value2) {
            addCriterion("component2 between", value1, value2, "component2");
            return (Criteria) this;
        }

        public Criteria andComponent2NotBetween(String value1, String value2) {
            addCriterion("component2 not between", value1, value2, "component2");
            return (Criteria) this;
        }

        public Criteria andComponent3IsNull() {
            addCriterion("component3 is null");
            return (Criteria) this;
        }

        public Criteria andComponent3IsNotNull() {
            addCriterion("component3 is not null");
            return (Criteria) this;
        }

        public Criteria andComponent3EqualTo(String value) {
            addCriterion("component3 =", value, "component3");
            return (Criteria) this;
        }

        public Criteria andComponent3NotEqualTo(String value) {
            addCriterion("component3 <>", value, "component3");
            return (Criteria) this;
        }

        public Criteria andComponent3GreaterThan(String value) {
            addCriterion("component3 >", value, "component3");
            return (Criteria) this;
        }

        public Criteria andComponent3GreaterThanOrEqualTo(String value) {
            addCriterion("component3 >=", value, "component3");
            return (Criteria) this;
        }

        public Criteria andComponent3LessThan(String value) {
            addCriterion("component3 <", value, "component3");
            return (Criteria) this;
        }

        public Criteria andComponent3LessThanOrEqualTo(String value) {
            addCriterion("component3 <=", value, "component3");
            return (Criteria) this;
        }

        public Criteria andComponent3Like(String value) {
            addCriterion("component3 like", value, "component3");
            return (Criteria) this;
        }

        public Criteria andComponent3NotLike(String value) {
            addCriterion("component3 not like", value, "component3");
            return (Criteria) this;
        }

        public Criteria andComponent3In(List<String> values) {
            addCriterion("component3 in", values, "component3");
            return (Criteria) this;
        }

        public Criteria andComponent3NotIn(List<String> values) {
            addCriterion("component3 not in", values, "component3");
            return (Criteria) this;
        }

        public Criteria andComponent3Between(String value1, String value2) {
            addCriterion("component3 between", value1, value2, "component3");
            return (Criteria) this;
        }

        public Criteria andComponent3NotBetween(String value1, String value2) {
            addCriterion("component3 not between", value1, value2, "component3");
            return (Criteria) this;
        }

        public Criteria andComponent4IsNull() {
            addCriterion("component4 is null");
            return (Criteria) this;
        }

        public Criteria andComponent4IsNotNull() {
            addCriterion("component4 is not null");
            return (Criteria) this;
        }

        public Criteria andComponent4EqualTo(String value) {
            addCriterion("component4 =", value, "component4");
            return (Criteria) this;
        }

        public Criteria andComponent4NotEqualTo(String value) {
            addCriterion("component4 <>", value, "component4");
            return (Criteria) this;
        }

        public Criteria andComponent4GreaterThan(String value) {
            addCriterion("component4 >", value, "component4");
            return (Criteria) this;
        }

        public Criteria andComponent4GreaterThanOrEqualTo(String value) {
            addCriterion("component4 >=", value, "component4");
            return (Criteria) this;
        }

        public Criteria andComponent4LessThan(String value) {
            addCriterion("component4 <", value, "component4");
            return (Criteria) this;
        }

        public Criteria andComponent4LessThanOrEqualTo(String value) {
            addCriterion("component4 <=", value, "component4");
            return (Criteria) this;
        }

        public Criteria andComponent4Like(String value) {
            addCriterion("component4 like", value, "component4");
            return (Criteria) this;
        }

        public Criteria andComponent4NotLike(String value) {
            addCriterion("component4 not like", value, "component4");
            return (Criteria) this;
        }

        public Criteria andComponent4In(List<String> values) {
            addCriterion("component4 in", values, "component4");
            return (Criteria) this;
        }

        public Criteria andComponent4NotIn(List<String> values) {
            addCriterion("component4 not in", values, "component4");
            return (Criteria) this;
        }

        public Criteria andComponent4Between(String value1, String value2) {
            addCriterion("component4 between", value1, value2, "component4");
            return (Criteria) this;
        }

        public Criteria andComponent4NotBetween(String value1, String value2) {
            addCriterion("component4 not between", value1, value2, "component4");
            return (Criteria) this;
        }

        public Criteria andComponent5IsNull() {
            addCriterion("component5 is null");
            return (Criteria) this;
        }

        public Criteria andComponent5IsNotNull() {
            addCriterion("component5 is not null");
            return (Criteria) this;
        }

        public Criteria andComponent5EqualTo(String value) {
            addCriterion("component5 =", value, "component5");
            return (Criteria) this;
        }

        public Criteria andComponent5NotEqualTo(String value) {
            addCriterion("component5 <>", value, "component5");
            return (Criteria) this;
        }

        public Criteria andComponent5GreaterThan(String value) {
            addCriterion("component5 >", value, "component5");
            return (Criteria) this;
        }

        public Criteria andComponent5GreaterThanOrEqualTo(String value) {
            addCriterion("component5 >=", value, "component5");
            return (Criteria) this;
        }

        public Criteria andComponent5LessThan(String value) {
            addCriterion("component5 <", value, "component5");
            return (Criteria) this;
        }

        public Criteria andComponent5LessThanOrEqualTo(String value) {
            addCriterion("component5 <=", value, "component5");
            return (Criteria) this;
        }

        public Criteria andComponent5Like(String value) {
            addCriterion("component5 like", value, "component5");
            return (Criteria) this;
        }

        public Criteria andComponent5NotLike(String value) {
            addCriterion("component5 not like", value, "component5");
            return (Criteria) this;
        }

        public Criteria andComponent5In(List<String> values) {
            addCriterion("component5 in", values, "component5");
            return (Criteria) this;
        }

        public Criteria andComponent5NotIn(List<String> values) {
            addCriterion("component5 not in", values, "component5");
            return (Criteria) this;
        }

        public Criteria andComponent5Between(String value1, String value2) {
            addCriterion("component5 between", value1, value2, "component5");
            return (Criteria) this;
        }

        public Criteria andComponent5NotBetween(String value1, String value2) {
            addCriterion("component5 not between", value1, value2, "component5");
            return (Criteria) this;
        }

        public Criteria andGradeIsNull() {
            addCriterion("grade is null");
            return (Criteria) this;
        }

        public Criteria andGradeIsNotNull() {
            addCriterion("grade is not null");
            return (Criteria) this;
        }

        public Criteria andGradeEqualTo(String value) {
            addCriterion("grade =", value, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeNotEqualTo(String value) {
            addCriterion("grade <>", value, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeGreaterThan(String value) {
            addCriterion("grade >", value, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeGreaterThanOrEqualTo(String value) {
            addCriterion("grade >=", value, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeLessThan(String value) {
            addCriterion("grade <", value, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeLessThanOrEqualTo(String value) {
            addCriterion("grade <=", value, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeLike(String value) {
            addCriterion("grade like", value, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeNotLike(String value) {
            addCriterion("grade not like", value, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeIn(List<String> values) {
            addCriterion("grade in", values, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeNotIn(List<String> values) {
            addCriterion("grade not in", values, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeBetween(String value1, String value2) {
            addCriterion("grade between", value1, value2, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeNotBetween(String value1, String value2) {
            addCriterion("grade not between", value1, value2, "grade");
            return (Criteria) this;
        }

        public Criteria andStandardIsNull() {
            addCriterion("standard is null");
            return (Criteria) this;
        }

        public Criteria andStandardIsNotNull() {
            addCriterion("standard is not null");
            return (Criteria) this;
        }

        public Criteria andStandardEqualTo(String value) {
            addCriterion("standard =", value, "standard");
            return (Criteria) this;
        }

        public Criteria andStandardNotEqualTo(String value) {
            addCriterion("standard <>", value, "standard");
            return (Criteria) this;
        }

        public Criteria andStandardGreaterThan(String value) {
            addCriterion("standard >", value, "standard");
            return (Criteria) this;
        }

        public Criteria andStandardGreaterThanOrEqualTo(String value) {
            addCriterion("standard >=", value, "standard");
            return (Criteria) this;
        }

        public Criteria andStandardLessThan(String value) {
            addCriterion("standard <", value, "standard");
            return (Criteria) this;
        }

        public Criteria andStandardLessThanOrEqualTo(String value) {
            addCriterion("standard <=", value, "standard");
            return (Criteria) this;
        }

        public Criteria andStandardLike(String value) {
            addCriterion("standard like", value, "standard");
            return (Criteria) this;
        }

        public Criteria andStandardNotLike(String value) {
            addCriterion("standard not like", value, "standard");
            return (Criteria) this;
        }

        public Criteria andStandardIn(List<String> values) {
            addCriterion("standard in", values, "standard");
            return (Criteria) this;
        }

        public Criteria andStandardNotIn(List<String> values) {
            addCriterion("standard not in", values, "standard");
            return (Criteria) this;
        }

        public Criteria andStandardBetween(String value1, String value2) {
            addCriterion("standard between", value1, value2, "standard");
            return (Criteria) this;
        }

        public Criteria andStandardNotBetween(String value1, String value2) {
            addCriterion("standard not between", value1, value2, "standard");
            return (Criteria) this;
        }

        public Criteria andSecurityLevelIsNull() {
            addCriterion("security_level is null");
            return (Criteria) this;
        }

        public Criteria andSecurityLevelIsNotNull() {
            addCriterion("security_level is not null");
            return (Criteria) this;
        }

        public Criteria andSecurityLevelEqualTo(String value) {
            addCriterion("security_level =", value, "securityLevel");
            return (Criteria) this;
        }

        public Criteria andSecurityLevelNotEqualTo(String value) {
            addCriterion("security_level <>", value, "securityLevel");
            return (Criteria) this;
        }

        public Criteria andSecurityLevelGreaterThan(String value) {
            addCriterion("security_level >", value, "securityLevel");
            return (Criteria) this;
        }

        public Criteria andSecurityLevelGreaterThanOrEqualTo(String value) {
            addCriterion("security_level >=", value, "securityLevel");
            return (Criteria) this;
        }

        public Criteria andSecurityLevelLessThan(String value) {
            addCriterion("security_level <", value, "securityLevel");
            return (Criteria) this;
        }

        public Criteria andSecurityLevelLessThanOrEqualTo(String value) {
            addCriterion("security_level <=", value, "securityLevel");
            return (Criteria) this;
        }

        public Criteria andSecurityLevelLike(String value) {
            addCriterion("security_level like", value, "securityLevel");
            return (Criteria) this;
        }

        public Criteria andSecurityLevelNotLike(String value) {
            addCriterion("security_level not like", value, "securityLevel");
            return (Criteria) this;
        }

        public Criteria andSecurityLevelIn(List<String> values) {
            addCriterion("security_level in", values, "securityLevel");
            return (Criteria) this;
        }

        public Criteria andSecurityLevelNotIn(List<String> values) {
            addCriterion("security_level not in", values, "securityLevel");
            return (Criteria) this;
        }

        public Criteria andSecurityLevelBetween(String value1, String value2) {
            addCriterion("security_level between", value1, value2, "securityLevel");
            return (Criteria) this;
        }

        public Criteria andSecurityLevelNotBetween(String value1, String value2) {
            addCriterion("security_level not between", value1, value2, "securityLevel");
            return (Criteria) this;
        }

        public Criteria andAbcClassIsNull() {
            addCriterion("abc_class is null");
            return (Criteria) this;
        }

        public Criteria andAbcClassIsNotNull() {
            addCriterion("abc_class is not null");
            return (Criteria) this;
        }

        public Criteria andAbcClassEqualTo(String value) {
            addCriterion("abc_class =", value, "abcClass");
            return (Criteria) this;
        }

        public Criteria andAbcClassNotEqualTo(String value) {
            addCriterion("abc_class <>", value, "abcClass");
            return (Criteria) this;
        }

        public Criteria andAbcClassGreaterThan(String value) {
            addCriterion("abc_class >", value, "abcClass");
            return (Criteria) this;
        }

        public Criteria andAbcClassGreaterThanOrEqualTo(String value) {
            addCriterion("abc_class >=", value, "abcClass");
            return (Criteria) this;
        }

        public Criteria andAbcClassLessThan(String value) {
            addCriterion("abc_class <", value, "abcClass");
            return (Criteria) this;
        }

        public Criteria andAbcClassLessThanOrEqualTo(String value) {
            addCriterion("abc_class <=", value, "abcClass");
            return (Criteria) this;
        }

        public Criteria andAbcClassLike(String value) {
            addCriterion("abc_class like", value, "abcClass");
            return (Criteria) this;
        }

        public Criteria andAbcClassNotLike(String value) {
            addCriterion("abc_class not like", value, "abcClass");
            return (Criteria) this;
        }

        public Criteria andAbcClassIn(List<String> values) {
            addCriterion("abc_class in", values, "abcClass");
            return (Criteria) this;
        }

        public Criteria andAbcClassNotIn(List<String> values) {
            addCriterion("abc_class not in", values, "abcClass");
            return (Criteria) this;
        }

        public Criteria andAbcClassBetween(String value1, String value2) {
            addCriterion("abc_class between", value1, value2, "abcClass");
            return (Criteria) this;
        }

        public Criteria andAbcClassNotBetween(String value1, String value2) {
            addCriterion("abc_class not between", value1, value2, "abcClass");
            return (Criteria) this;
        }

        public Criteria andBarCodeIsNull() {
            addCriterion("bar_code is null");
            return (Criteria) this;
        }

        public Criteria andBarCodeIsNotNull() {
            addCriterion("bar_code is not null");
            return (Criteria) this;
        }

        public Criteria andBarCodeEqualTo(String value) {
            addCriterion("bar_code =", value, "barCode");
            return (Criteria) this;
        }

        public Criteria andBarCodeNotEqualTo(String value) {
            addCriterion("bar_code <>", value, "barCode");
            return (Criteria) this;
        }

        public Criteria andBarCodeGreaterThan(String value) {
            addCriterion("bar_code >", value, "barCode");
            return (Criteria) this;
        }

        public Criteria andBarCodeGreaterThanOrEqualTo(String value) {
            addCriterion("bar_code >=", value, "barCode");
            return (Criteria) this;
        }

        public Criteria andBarCodeLessThan(String value) {
            addCriterion("bar_code <", value, "barCode");
            return (Criteria) this;
        }

        public Criteria andBarCodeLessThanOrEqualTo(String value) {
            addCriterion("bar_code <=", value, "barCode");
            return (Criteria) this;
        }

        public Criteria andBarCodeLike(String value) {
            addCriterion("bar_code like", value, "barCode");
            return (Criteria) this;
        }

        public Criteria andBarCodeNotLike(String value) {
            addCriterion("bar_code not like", value, "barCode");
            return (Criteria) this;
        }

        public Criteria andBarCodeIn(List<String> values) {
            addCriterion("bar_code in", values, "barCode");
            return (Criteria) this;
        }

        public Criteria andBarCodeNotIn(List<String> values) {
            addCriterion("bar_code not in", values, "barCode");
            return (Criteria) this;
        }

        public Criteria andBarCodeBetween(String value1, String value2) {
            addCriterion("bar_code between", value1, value2, "barCode");
            return (Criteria) this;
        }

        public Criteria andBarCodeNotBetween(String value1, String value2) {
            addCriterion("bar_code not between", value1, value2, "barCode");
            return (Criteria) this;
        }

        public Criteria andCheckupLevelIsNull() {
            addCriterion("checkup_level is null");
            return (Criteria) this;
        }

        public Criteria andCheckupLevelIsNotNull() {
            addCriterion("checkup_level is not null");
            return (Criteria) this;
        }

        public Criteria andCheckupLevelEqualTo(String value) {
            addCriterion("checkup_level =", value, "checkupLevel");
            return (Criteria) this;
        }

        public Criteria andCheckupLevelNotEqualTo(String value) {
            addCriterion("checkup_level <>", value, "checkupLevel");
            return (Criteria) this;
        }

        public Criteria andCheckupLevelGreaterThan(String value) {
            addCriterion("checkup_level >", value, "checkupLevel");
            return (Criteria) this;
        }

        public Criteria andCheckupLevelGreaterThanOrEqualTo(String value) {
            addCriterion("checkup_level >=", value, "checkupLevel");
            return (Criteria) this;
        }

        public Criteria andCheckupLevelLessThan(String value) {
            addCriterion("checkup_level <", value, "checkupLevel");
            return (Criteria) this;
        }

        public Criteria andCheckupLevelLessThanOrEqualTo(String value) {
            addCriterion("checkup_level <=", value, "checkupLevel");
            return (Criteria) this;
        }

        public Criteria andCheckupLevelLike(String value) {
            addCriterion("checkup_level like", value, "checkupLevel");
            return (Criteria) this;
        }

        public Criteria andCheckupLevelNotLike(String value) {
            addCriterion("checkup_level not like", value, "checkupLevel");
            return (Criteria) this;
        }

        public Criteria andCheckupLevelIn(List<String> values) {
            addCriterion("checkup_level in", values, "checkupLevel");
            return (Criteria) this;
        }

        public Criteria andCheckupLevelNotIn(List<String> values) {
            addCriterion("checkup_level not in", values, "checkupLevel");
            return (Criteria) this;
        }

        public Criteria andCheckupLevelBetween(String value1, String value2) {
            addCriterion("checkup_level between", value1, value2, "checkupLevel");
            return (Criteria) this;
        }

        public Criteria andCheckupLevelNotBetween(String value1, String value2) {
            addCriterion("checkup_level not between", value1, value2, "checkupLevel");
            return (Criteria) this;
        }

        public Criteria andSizeDescIsNull() {
            addCriterion("size_desc is null");
            return (Criteria) this;
        }

        public Criteria andSizeDescIsNotNull() {
            addCriterion("size_desc is not null");
            return (Criteria) this;
        }

        public Criteria andSizeDescEqualTo(String value) {
            addCriterion("size_desc =", value, "sizeDesc");
            return (Criteria) this;
        }

        public Criteria andSizeDescNotEqualTo(String value) {
            addCriterion("size_desc <>", value, "sizeDesc");
            return (Criteria) this;
        }

        public Criteria andSizeDescGreaterThan(String value) {
            addCriterion("size_desc >", value, "sizeDesc");
            return (Criteria) this;
        }

        public Criteria andSizeDescGreaterThanOrEqualTo(String value) {
            addCriterion("size_desc >=", value, "sizeDesc");
            return (Criteria) this;
        }

        public Criteria andSizeDescLessThan(String value) {
            addCriterion("size_desc <", value, "sizeDesc");
            return (Criteria) this;
        }

        public Criteria andSizeDescLessThanOrEqualTo(String value) {
            addCriterion("size_desc <=", value, "sizeDesc");
            return (Criteria) this;
        }

        public Criteria andSizeDescLike(String value) {
            addCriterion("size_desc like", value, "sizeDesc");
            return (Criteria) this;
        }

        public Criteria andSizeDescNotLike(String value) {
            addCriterion("size_desc not like", value, "sizeDesc");
            return (Criteria) this;
        }

        public Criteria andSizeDescIn(List<String> values) {
            addCriterion("size_desc in", values, "sizeDesc");
            return (Criteria) this;
        }

        public Criteria andSizeDescNotIn(List<String> values) {
            addCriterion("size_desc not in", values, "sizeDesc");
            return (Criteria) this;
        }

        public Criteria andSizeDescBetween(String value1, String value2) {
            addCriterion("size_desc between", value1, value2, "sizeDesc");
            return (Criteria) this;
        }

        public Criteria andSizeDescNotBetween(String value1, String value2) {
            addCriterion("size_desc not between", value1, value2, "sizeDesc");
            return (Criteria) this;
        }

        public Criteria andTagPriceIsNull() {
            addCriterion("tag_price is null");
            return (Criteria) this;
        }

        public Criteria andTagPriceIsNotNull() {
            addCriterion("tag_price is not null");
            return (Criteria) this;
        }

        public Criteria andTagPriceEqualTo(String value) {
            addCriterion("tag_price =", value, "tagPrice");
            return (Criteria) this;
        }

        public Criteria andTagPriceNotEqualTo(String value) {
            addCriterion("tag_price <>", value, "tagPrice");
            return (Criteria) this;
        }

        public Criteria andTagPriceGreaterThan(String value) {
            addCriterion("tag_price >", value, "tagPrice");
            return (Criteria) this;
        }

        public Criteria andTagPriceGreaterThanOrEqualTo(String value) {
            addCriterion("tag_price >=", value, "tagPrice");
            return (Criteria) this;
        }

        public Criteria andTagPriceLessThan(String value) {
            addCriterion("tag_price <", value, "tagPrice");
            return (Criteria) this;
        }

        public Criteria andTagPriceLessThanOrEqualTo(String value) {
            addCriterion("tag_price <=", value, "tagPrice");
            return (Criteria) this;
        }

        public Criteria andTagPriceLike(String value) {
            addCriterion("tag_price like", value, "tagPrice");
            return (Criteria) this;
        }

        public Criteria andTagPriceNotLike(String value) {
            addCriterion("tag_price not like", value, "tagPrice");
            return (Criteria) this;
        }

        public Criteria andTagPriceIn(List<String> values) {
            addCriterion("tag_price in", values, "tagPrice");
            return (Criteria) this;
        }

        public Criteria andTagPriceNotIn(List<String> values) {
            addCriterion("tag_price not in", values, "tagPrice");
            return (Criteria) this;
        }

        public Criteria andTagPriceBetween(String value1, String value2) {
            addCriterion("tag_price between", value1, value2, "tagPrice");
            return (Criteria) this;
        }

        public Criteria andTagPriceNotBetween(String value1, String value2) {
            addCriterion("tag_price not between", value1, value2, "tagPrice");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(String value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(String value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(String value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(String value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(String value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(String value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLike(String value) {
            addCriterion("create_by like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(String value) {
            addCriterion("create_by not like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<String> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<String> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(String value1, String value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(String value1, String value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNull() {
            addCriterion("update_by is null");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
            addCriterion("update_by is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(String value) {
            addCriterion("update_by =", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(String value) {
            addCriterion("update_by <>", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(String value) {
            addCriterion("update_by >", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
            addCriterion("update_by >=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(String value) {
            addCriterion("update_by <", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(String value) {
            addCriterion("update_by <=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLike(String value) {
            addCriterion("update_by like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotLike(String value) {
            addCriterion("update_by not like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<String> values) {
            addCriterion("update_by in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<String> values) {
            addCriterion("update_by not in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(String value1, String value2) {
            addCriterion("update_by between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(String value1, String value2) {
            addCriterion("update_by not between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andTagNameIsNull() {
            addCriterion("tag_name is null");
            return (Criteria) this;
        }

        public Criteria andTagNameIsNotNull() {
            addCriterion("tag_name is not null");
            return (Criteria) this;
        }

        public Criteria andTagNameEqualTo(String value) {
            addCriterion("tag_name =", value, "tagName");
            return (Criteria) this;
        }

        public Criteria andTagNameNotEqualTo(String value) {
            addCriterion("tag_name <>", value, "tagName");
            return (Criteria) this;
        }

        public Criteria andTagNameGreaterThan(String value) {
            addCriterion("tag_name >", value, "tagName");
            return (Criteria) this;
        }

        public Criteria andTagNameGreaterThanOrEqualTo(String value) {
            addCriterion("tag_name >=", value, "tagName");
            return (Criteria) this;
        }

        public Criteria andTagNameLessThan(String value) {
            addCriterion("tag_name <", value, "tagName");
            return (Criteria) this;
        }

        public Criteria andTagNameLessThanOrEqualTo(String value) {
            addCriterion("tag_name <=", value, "tagName");
            return (Criteria) this;
        }

        public Criteria andTagNameLike(String value) {
            addCriterion("tag_name like", value, "tagName");
            return (Criteria) this;
        }

        public Criteria andTagNameNotLike(String value) {
            addCriterion("tag_name not like", value, "tagName");
            return (Criteria) this;
        }

        public Criteria andTagNameIn(List<String> values) {
            addCriterion("tag_name in", values, "tagName");
            return (Criteria) this;
        }

        public Criteria andTagNameNotIn(List<String> values) {
            addCriterion("tag_name not in", values, "tagName");
            return (Criteria) this;
        }

        public Criteria andTagNameBetween(String value1, String value2) {
            addCriterion("tag_name between", value1, value2, "tagName");
            return (Criteria) this;
        }

        public Criteria andTagNameNotBetween(String value1, String value2) {
            addCriterion("tag_name not between", value1, value2, "tagName");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}